package com.hnu.store.service;

import com.hnu.store.entity.SearchRecord;
import java.util.ArrayList;


public interface ISearchRecordService {

    /**
     * 添加搜索记录
     * @param searchRecord 搜索记录信息
     */
    void addSearchRecord(SearchRecord searchRecord);

    /**
     * 删除搜索记录
     * @param searchRecord 搜索记录信息
     */
    void deleteSearchRecord(SearchRecord searchRecord);

    /**
     * 获取搜索记录
     */
    ArrayList<SearchRecord> getSearchRecord();
}
